package com.gouda.core.service.serviceIntroduce;

import com.gouda.core.dto.serviceIntroduce.ServiceIntroduceDto;

/**
 * Created by souu on 15/12/6.
 */
public interface ServiceIntroduceService {

    /**
     * 添加服务介绍
     *
     * @param serviceId
     * @param price
     * @param startHour
     * @param space
     * @param spaceRange
     * @param serviceContent
     * @param safeServiceContent
     */
    void createServiceIntroduce(long serviceId, double price, int startHour
            , int space, String spaceRange, String serviceContent, String safeServiceContent);

    /**
     * 修改服务介绍
     *
     * @param serviceId
     * @param price
     * @param startHour
     * @param space
     * @param spaceRange
     * @param serviceContent
     * @param safeServiceContent
     */
    void updateServiceIntroduce(long serviceId, double price, int startHour
            , int space, String spaceRange, String serviceContent, String safeServiceContent);

    /**
     * 查询一条服务介绍
     * @param serviceId
     * @return
     */
    ServiceIntroduceDto getServiceIntroduceById(long serviceId);

}
